package org.gem.example.strategy;

import java.math.BigDecimal;

/**
 * 8折策略
 */
public class TwentyPercentOff implements DiscountStrategy {
    public BigDecimal applyDiscount(BigDecimal originalPrice) {
        return originalPrice.multiply(new BigDecimal("0.8"));
    }
}